/**
 * @author: zouye<yzyngz@foxmail.com>
 * @date: 2021-12-19 18:12:51
 * @copyright: zouye<yzyngz@foxmail.com>
 */
package com.yeah.study.easyoffice.dto;

import java.util.Date;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 要写入 Excel 要合并单元格的数据
 */
public class ExcelMergeVo {
	
	@ExcelProperty("序号")
	private Integer index;

	@ExcelProperty("名称")
	private String name;
	
	@ExcelProperty("开始时间")
	private Date startTime;
	
	@ExcelProperty("价格")
	private Float price;

	public ExcelMergeVo() {
		
	}
	
	public ExcelMergeVo(Integer index, String name, Date startDate, Float price) {
		this.index = index;
		this.name = name;
		this.startTime = startDate;
		this.price = price;
	}
	/**
	 * @return the index
	 */
	public Integer getIndex() {
		return index;
	}

	/**
	 * @param index the index to set
	 */
	public void setIndex(Integer index) {
		this.index = index;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the startTime
	 */
	public Date getStartTime() {
		return startTime;
	}

	/**
	 * @param startTime the startTime to set
	 */
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	/**
	 * @return the price
	 */
	public Float getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(Float price) {
		this.price = price;
	}
}
